﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace Ccit.OA.MsNotify
{
    /// <summary>
    /// NTF_A4(查询条件设置表)
    /// </summary>
    public class MsQueryClass
    {
        #region 私有属性
            private string _queryid;    //条件id
            private string _userid;    //用户id
            private string _typeid;    //功能id
            private string _queryname;    //条件名称
            private string _content;    //内容
        #endregion
        #region 公有属性
            /// <summary>
            /// queryid
            /// </summary>
            public string queryid
            {
                set { _queryid = value; }
                get { return ((!string.IsNullOrEmpty(_queryid)) ? _queryid : ""); }
            }
            /// <summary>
            /// _userid
            /// </summary>
            public string userid
            {
                set { _userid = value; }
                get { return ((!string.IsNullOrEmpty(_userid)) ? _userid : ""); }
            }
            /// <summary>
            /// _typeid
            /// </summary>
            public string typeid
            {
                set { _typeid = value; }
                get { return ((!string.IsNullOrEmpty(_typeid)) ? _typeid : ""); }
            }
            /// <summary>
            /// _content
            /// </summary>
            public string content
            {
                set { _content = value; }
                get { return ((!string.IsNullOrEmpty(_content)) ? _content : ""); }
            }
            /// <summary>
            /// queryname
            /// </summary>
            public string queryname
            {
                set { _queryname = value; }
                get { return ((!string.IsNullOrEmpty(_queryname)) ? _queryname : ""); }
            }
        #endregion
        #region method
            public MsQueryClass()
            { }
            public MsQueryClass(string sQueryId,string sUserId,string sTypeId,string sQueryName,string sContent)
            {
                _queryid = sQueryId;
                _userid = sUserId;
                _typeid = sTypeId;
                _queryname = sQueryName;
                _content = sContent;
            }
        #endregion
    }
}
